<?php
session_start();
?>
<!DOCTYPE html>
<!--[if IE 8]><html lang="pt-br" class="ie8"></html><![endif]-->
<!--[if IE 9]><html lang="pt-br" class="ie9"></html><![endif]-->
<!--[if !IE]><!-->
<html lang="pt-br">
<!--<![endif]-->

<head>
    <meta charset="utf-8" />
    <title>Tiago Turismo - Admin</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <link href="./assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="./assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="./css/style.css" rel="stylesheet" />
    <link href="./css/style_responsive.css" rel="stylesheet" />
    <link href="./css/style_default.css" rel="stylesheet" id="style_color" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
</head>

<body id="login-body">
   
    <div class="login-header">
         <div id="logo" class="center">
            <img src="../imagem/logo.png" alt="logo" class="center" width="130"/>
        </div>
    </div>
    <noscript>
        <div class="alert alert-error">
            <button data-dismiss="alert" class="close">×</button>
            <strong>Erro! </strong>Por favor, ative o Java Script do seu navegador para o funcionamento correto do sistema.</div>        
    </noscript>
    <div id="login">
        <form id="loginform" class="form-vertical no-padding no-margin" action="verificaLogin.php" method="POST"/>
        <div class="lock">
            <i class="icon-lock"></i>
        </div>
        <div class="control-wrap">
            <h4>Faça seu login</h4>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-user"></i></span>
                        <input id="input-username" type="text" name="usuario" placeholder="Usuário" />
                    </div>
                </div>
            </div>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on">
                     <i class="icon-key"></i>
                         </span>
                        <input id="input-password" type="password" name="senha" placeholder="Senha" />
                    </div>
                    <div class="mtop10">
                        <div class="block-hint pull-left small">
                            <input type="checkbox" id="" /> Remember Me
                        </div>
                        <div class="block-hint pull-right">
                            <a href="recuperar-senha.php" class="" id="forget-password">Esqueci minha senha</a>
                        </div>
                    </div>
                    <div class="clearfix space5"></div>
                </div>
            </div>
        </div>
        <?php
        if (!empty($_SESSION['erro'])) {
            echo '<div class="alert alert-error"><button data-dismiss="alert" class="close">×</button><strong>Erro! </strong>'.$_SESSION['erro'].'</div>';
            unset($_SESSION['erro']);
        }
        ?>
        <input type="submit" id="login-btn" class="btn btn-block login-btn" value="Login" />
        </form>
    <!-- FIM LOGIN -->
    </div>
    <div id="login-copyright">2013 &copy; Vinícius Ribeiro.
    </div>
    <script src="./js/jquery-1.8.3.min.js"></script>
    <script src="./assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="./js/jquery.blockui.js"></script>
    <script src="./js/scripts.js"></script>
    <script>
        jQuery(document).ready(function () {
            App.initLogin()
        });
    </script>
</body>

</html>